package com.htlwk.javapractice;

import java.util.function.Function;

public class Main {
    public static void main(String[] args) {
        Function<Integer, Integer> fun = MyMath::square;
        int result = fun.apply(2);
        System.out.println(result);
    }
}